package com.cssl.controller;

import com.cssl.domain.dto.UserAccountDto;
import com.cssl.openFeign.AdminFeignClient;
import com.cssl.openFeign.UsersAccountClient;
import com.cssl.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/usersaccount")
public class DtsUserAccountController {
    @Autowired
    private UsersAccountClient accountClient;


    @PostMapping("/detailApprove")
    public Result getUserAccountByid(@RequestBody UserAccountDto userAccountDto) {
        return accountClient.getUserAccountByid(userAccountDto);
    }

}
